namespace Skymate
{
    using SuperSocket.SocketBase.Protocol;

    public class SemaphoreRequestInfo : BinaryRequestInfo
    {
        public SemaphoreRequestInfo(string key, byte[] body)
            : base(key, body)
        {
        }

        /// <summary>
        /// 版本
        /// </summary>
        public byte Version { get; set; }

        /// <summary>
        /// 发送方
        /// </summary>
        public byte Send { get; set; }

        /// <summary>
        /// 接收方
        /// </summary>
        public byte Target { get; set; }

        /// <summary>
        /// 数据链路吗
        /// </summary>
        public byte DataLink { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public byte Area { get; set; }

        /// <summary>
        /// 路口号 2位
        /// </summary>
        public byte[] Intersection { get; set; }

        /// <summary>
        /// 对象标识
        /// </summary>
        public byte Object { get; set; }

        /// <summary>
        /// 保留 5位
        /// </summary>
        public byte[] Retain { get; set; }
        
    }
}